<template>
    <el-dialog
      :title="dataForm.id ? '修改' : '新增'"
      :close-on-click-modal="false"
      :visible.sync="visible"
    >
      <el-form :model="dataForm" :rules="dataRule" ref="dataForm" @keyup.enter.native="dataFormSubmit()" label-width="100px">

      </el-form>
    </el-dialog>
</template>

<script>
export default {
  name: 'dictionary-add-or-update',
  data() {
    return {
      dataForm: {
        id: ''
      },
      dataRule: []
    }
  },
  methods: {
    dataFormSubmit() {}
  }
}
</script>

<style scoped>

</style>
